package com.wanxi.arr;

public class ArrException {
    public static void main(String[] args) {
        int[] arr=new int[2];
        arr=null;
        System.out.println(arr[2]);//NPE

    }
}
